// Package sysin
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2025 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.17.8
package sysin

import (
	"context"
	"hotgo/internal/model/entity"
	"hotgo/internal/model/input/form"
)

// ErpInfoUpdateFields 修改erpInfo字段过滤
type ErpInfoUpdateFields struct {
	Zone      string `json:"zone"      dc:"Zone"`
	SESSIONID string `json:"sESSIONID" dc:"Session ID"`
	DOMAIN    string `json:"dOMAIN"    dc:"DOMAIN"`
}

// ErpInfoInsertFields 新增erpInfo字段过滤
type ErpInfoInsertFields struct {
	Zone      string `json:"zone"      dc:"Zone"`
	SESSIONID string `json:"sESSIONID" dc:"Session ID"`
	DOMAIN    string `json:"dOMAIN"    dc:"DOMAIN"`
}

// ErpInfoEditInp 修改/新增erpInfo
type ErpInfoEditInp struct {
	entity.ErpInfo
}

func (in *ErpInfoEditInp) Filter(ctx context.Context) (err error) {

	return
}

type ErpInfoEditModel struct{}

// ErpInfoDeleteInp 删除erpInfo
type ErpInfoDeleteInp struct {
	Id interface{} `json:"id" v:"required#主键不能为空" dc:"主键"`
}

func (in *ErpInfoDeleteInp) Filter(ctx context.Context) (err error) {
	return
}

type ErpInfoDeleteModel struct{}

// ErpInfoViewInp 获取指定erpInfo信息
type ErpInfoViewInp struct {
	Id int64 `json:"id" v:"required#主键不能为空" dc:"主键"`
}

func (in *ErpInfoViewInp) Filter(ctx context.Context) (err error) {
	return
}

type ErpInfoViewModel struct {
	entity.ErpInfo
}

// ErpInfoListInp 获取erpInfo列表
type ErpInfoListInp struct {
	form.PageReq
	Id int64 `json:"id" dc:"主键"`
}

func (in *ErpInfoListInp) Filter(ctx context.Context) (err error) {
	return
}

type ErpInfoListModel struct {
	Id        int64  `json:"id"        dc:"主键"`
	Zone      string `json:"zone"      dc:"Zone"`
	SESSIONID string `json:"sESSIONID" dc:"Session ID"`
	DOMAIN    string `json:"dOMAIN"    dc:"DOMAIN"`
}

// ErpInfoExportModel 导出erpInfo
type ErpInfoExportModel struct {
	Id        int64  `json:"id"        dc:"主键"`
	Zone      string `json:"zone"      dc:"Zone"`
	SESSIONID string `json:"sESSIONID" dc:"Session ID"`
	DOMAIN    string `json:"dOMAIN"    dc:"DOMAIN"`
}